package com.wocai.jrt.orgadmin.flow.service.impl;

import javax.inject.Inject;
import javax.inject.Named;

import com.wocai.jrt.orgadmin.flow.dao.FlowDetailDao;
import com.wocai.jrt.orgadmin.flow.model.FlowDetail;
import com.wocai.jrt.orgadmin.flow.model.FlowDetailBean;
import com.wocai.jrt.orgadmin.flow.service.spi.FlowDetailService;

import com.vteba.service.generic.impl.MyBatisServiceImpl;
import com.vteba.tx.jdbc.mybatis.spi.BaseDao;

/**
 * 流程定义相关的service业务实现。
 * @author yinlei
 * @date 2016-3-17 17:18:35
 */
@Named
public class FlowDetailServiceImpl extends MyBatisServiceImpl<FlowDetail, FlowDetailBean, String> implements FlowDetailService {
	// 添加了方法后，记得改为private
	protected FlowDetailDao flowDetailDao;
	
	@Override
	@Inject
	public void setBaseDao(BaseDao<FlowDetail, FlowDetailBean, String> flowDetailDao) {
		this.baseDao = flowDetailDao;
		this.flowDetailDao = (FlowDetailDao) flowDetailDao;
	}
}
